﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ClassLibrary;
using GatewayFysioWeb;


namespace GatewayFysioWeb
{
    public partial class UserContent : System.Web.UI.Page
    {
        private GatewayUserContent usercontentgateway; 
        protected void Page_Load(object sender, EventArgs e)
        {
            usercontentgateway = new GatewayUserContent();
        }

        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            string cpr = txtCpr.Text;
            string description = txtDescription.Text;

            UserContent usercontent = new UserContent(cpr, description);
            usercontent = usercontentgateway.Create(usercontent);



        }
    }
}